package b01static;

import java.util.Scanner;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle= new Circle();
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入圆的半径");
        double a = scanner.nextDouble();
        circle.setRadius(a);
        double findArea =circle.findArea();


        System.out.println("请输入圆柱的高");
        double length = scanner.nextByte();
        Cylinder cylinder = new Cylinder(length);
        cylinder.findVolume(findArea);
    }
}
